class chaundd:
    def __init__(self):
        self.pump_main1=[1, 0, 2] # 主泵电机正常振动范围
        self.pump_main2=[1,0, 1] # 主泵泵体正常振动范围
        self.pump_f1=[1, 0, 0]#副泵本体正常振动范围
        self.pump_f2=[1, 0, 0]#副泵本体正常振动范围

        self.stop_main1= [0, 0, 0]# 主副泵电机不运行
        self.stop_f1= [1, 0, 0]# 主副泵电机不运行

class Fer:
    def __init__(self):
        # 确保这些属性都有定义
        self.normal_flow_2800 = 6000  # 示例值
        self.normal2_flow_2800 = 100  # 示例值
        self.normal_flow_2600 = 100  # 示例值
        self.normal2_flow_2600 = 100  # 添加这个属性
class Gygl:
    def __init__(self):
        self.single_pump_threshold = 1  # 单泵压差阈值，单位假设为psi
        self.double_pump_threshold = 2  # 双泵压差阈值，单位假设为psi
class Hc:
    def __init__(self):
        self.fw= -5, 5 # 震动范围
        self.zb=[5, 5, 50]# 主泵正常振动范围
        self.fb=[5, 5, 5]# 副泵正常振动范围
class Bzkg:
    def __init__(self):
        self.yali1=1
        self.yali2=5000
        self.yali3=3000
class Bdw:
    def __init__(self):
        self.wan_neng=20
        self.shang_ya_jing=8
        self.ke_bian_zha_ban=9
        self.shang_zu_liu=7
        self.xia_ya_jing=6
        self.jian_qie_zha_ban=8,
        self.xia_zu_liu=7
        self.shang_zha_ban=9
        self.xia_zha_ban=8
class Cl:
    def __init__(self):
        self.wan_neng=20
        self.shang_ya_jing=8
        self.ke_bian_zha_ban=9
        self.shang_zu_liu=7
        self.xia_ya_jing=6
        self.jian_qie_zha_ban=8,
        self.xia_zu_liu=7
        self.shang_zha_ban=9
        self.xia_zha_ban=8
class Kz:
    def __init__(self):
        self.previous_flow = 27.3  # 示例值
        # 设置流量差值的阈值，示例为0.1
        self.threshold = 0.1
class Qj:
    def __init__(self):
        # 设置清洁度标准值
        self.standard_value = 1
class xnqqp:
    def __init__(self):
        self.gaowei = 2  # 等高位
        self.zhongwei = 1  # 等中位